package com.inifitness.common.model;

import java.io.Serial;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 通知消息
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024-06-17 16:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeMessage<T> implements Serializable {
  @Serial
  private static final long serialVersionUID = -7191109686796613384L;
  /**
   * 发送者
   */
  private String sender;

  /**
   * 消息内容
   */
  private T payload;
}
